<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>空箱出入库</title>
    <link href="/page/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
    <link href="/page/dist/css/bootstrap-dialog.min.css" rel="stylesheet">
    <link href="/page/dist/css/bootstrap-select.min.css" rel="stylesheet">
    <link href="/page/build/css/index.css" rel="stylesheet"/>
    <link href="/page/css/index.css" rel="stylesheet"/>
    <link rel="shortcut icon" href="#"/>
    <script type="text/javascript" src="/page/dist/js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap-dialog.min.js"></script>
    <script type="text/javascript" src="/page/js/socket/socket.io.js"></script>
    <script type="module" src="/page/js/cookie/js.cookie-2.2.1.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/jquery.serializejson.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap-select.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/i18n/defaults-zh_CN.min.js"></script>
    <script type="text/javascript" src="/page/js/common.js"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="form-group" style="text-align: center; margin-top: 100px; ">
            <label class="message message-content" id="message-content"
                   style="font-size: x-large;height: 50px;"></label>
        </div>
    </div>
    <div class="row" style="text-align: center;">
        <div class="form-inline">
            <div class="form-group">
                <label for="select-id" class="control-label">请选择：</label>
                <select id="select-id" class="selectpicker select-type-info">
                    <option value="2" class="opt-inf">空箱出库</option>
                    <option value="1" class="opt-inf">空箱入库</option>
                    <option value="0" class="opt-inf">新箱称重</option>
                </select>
            </div>
            <div class="form-group">
                <label for="outbound-number">出库数量</label>
                <input type="text" name="outbound-number" id="outbound-number" value="1" class="form-control">
            </div>
            <div class="form-group">
                <label for="temperature-id" class="control-label">温区：</label>
                <select id="temperature-id" class="selectpicker select-temperature-info">
                    <!--<option value="0" class="opt-temp-inf"></option>-->
                   <!-- <option value="101" class="opt-temp-inf">常温</option>
                    <option value="51" class="opt-temp-inf">保鲜</option>
                    <option value="1" class="opt-temp-inf">冷冻</option>-->
                    <option th:each="tempera : ${temperatureZoneList}" th:text="${tempera.name}" th:value="${tempera.temperatureZoneCode}"></option>
                </select>
            </div>
            <div class="form-group">
                <label for="goods-box-spec-id" class="control-label">货箱类型：</label>
                <select id="goods-box-spec-id" class="selectpicker select-temperature-info">
                    <!--<option th:each="boxSpec : ${goodsBoxSpecList}" th:text="${boxSpec.specName}" th:value="${boxSpec.specCode}"></option>-->
                    <!--<option value="" class="opt-temp-inf"></option>-->
                    <option value="0" class="opt-temp-inf">大货箱</option>
                    <option value="1" class="opt-temp-inf">小货箱</option>
                </select>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top: 30px;">
        <p></p>
    </div>
    <div class="row" style="text-align: center;">
        <div class="form-inline keyboard-info">
            <input class="input form-control" name="emptyNumber" id="emptyNumber" placeholder="请输入货箱编号及仓库编号"
                   style="width: 450px;font-size: x-large;"/>
            <button type="button" class="btn btn-info confirm-btn" id="empty-btn">确认</button>
            <div class="simple-keyboard" style="font-size: x-large;"></div>
        </div>
    </div>
    <form class="hidden" id="form-param">
        <input type="hidden" name="upOrDownPolicy[clientId]" th:value="${clientId}" id="client-id">
        <input type="hidden" name="upOrDownPolicy[boxCode]" id="ware-box-code"/>
        <input type="hidden" name="upOrDownPolicy[boxType]" th:value="0"/>
        <input type="hidden" name="upOrDownPolicy[consoleId]" th:value="0"/>
        <input type="hidden" name="upOrDownPolicy[totalWeight]" id="total-weight-download"/>
        <input type="hidden" name="upOrDownPolicy[operationType]" th:value="6" id="operation-type"/>
        <input type="hidden" name="goodsBox[warehouseId]" th:value="234"/>
        <input type="hidden" name="goodsBox[inspectType]" th:value="2"/>
        <input type="hidden" name="tempNum" th:value="101" id="temp-num"/>
        <input type="hidden" name="goodsBoxSpecType" id="goods-box-spec-type"  th:value="0"/>
        <!--        <input type="hidden" name="map[TotalWeight]" th:value="0" id="total-weight-num"/>-->
        <input type="hidden" name="outboundNumber" th:value="0" id="outboundNumber"/>
    </form>
</div>
</body>
<script type="text/javascript" src="/page/build/index.js"></script>
<script type="text/javascript" src="/page/js/socket.con.js"></script>
<script type="text/javascript" src="/page/js/wms/empty.js"></script>
<script type="text/javascript" src="/page/build/keyBoard.js"></script>
</html>